Add tests for image upload form