add a test with base path set to the resources path and an img with a cat and the reference directly to the image