Test case for imgr