Split HDF5 tests into their own TestCase.
Use context managers to close hdf5 files.
Add an `import_or_skip` function to testing.

I had some trouble implementing this as a decorator, but this simple function works.
Rename some methods and use `import_or_skip`.
Fix some typos.

Thanks, @kwmsmith.