TST: Skip tests if h5py is not installed

NumPy provides a decorator that allows you to skip a test if a condition
is true.
Merge pull request #304 from ElDeveloper/skip-tests

Skip tests if h5py is not installed