Made test case work again.
added __repr__ and __len__ clas methods to imagedataset