Add some more debug output to test_gridmap.py