Use decorator for running tests with a cluster instance.

(This allows using nose to find and run tests)
Minor fixes: all tests now passing.

Numpy's handling of empty boolean indexing for structured arrays is
odd, to say the least.