Perhaps you can exclude this to the builder factory or you could create a DummyImage class in this testfile...