Migrated some of the test cases to test the updated UploadField. Includes mock form wrappers for uploading and posting data.