Added read/write tests for hdf5 in tests/array.R