Unfortunately VLA's are unlikely to be supported on any Visual Studio versions, although it is C99, so replace it with g_newa() calls.
Do the same style of tests we do for all the other list models. These tests found the issue fixed in the previous commit.