Fixed bugs in reading and writing structured numpy.ndarrays, especially empty ones.
Fixed bugs in tests where structured numpy.ndarrays which were read right were found to be inequal.
Fixed bug in tests where the partial squeezing of singleton arrays was not detected when no metadata was written.