Fixed the tests for catalog by actually testing the code :P
Added a first support for listing HDF5 datasets as cdir catalogs