Fixed Cucumber test to support image uploading