added test case for imagedataset