Categorical: (failing) tests for to_csv and to_hdf