Add some tests for h5t, and fix an issue where array dims are incorrect.