add integration test for creating images