added convenience function expect_correct_file, used for translator testing
refactored the new_ractive function