Hdf5tests

Merging hdf5 branch with tests passing