Making tests for image uploader pass