add tests for images