Decouple unit test from sample images