VI test for grid world