Started to fix the VRAM states test suite.

Now compiles and runs properly - just need to add more tests.