Whitespace.
Ensure all elements of grid_shape are ints.
Reduce test size for speed.
Whitespace.
Isolate an ndenumerate test.

This is taken from part of a test_distarray test.