Changed the way to get a serializer for tests with file in File Model. The serializer for tests now lets the file field blank, and the normal does not. #27