Add some tests for reversed grid directions