added a class necessary for image testing