Tests accurately check whether a file was uploaded.
Update tests to use file parser.