NEW: testcases for user-defined grids
FIX: user-defined type grids
FIX: traversal visitor