Use the equals method on file uploads in test.