Added tests for the form data population and upload.