more unit tests

maybe it worth to make `@skipIf_not_pandas` and put it in `test.utils`, because you are using it here and IIRC it is used in other tests too... but that's a minor point...