fixed up image unit test