making tests for image uploading pass