test case, TempObject should define the original_filename attribute if obj is a Tempfile