fix in test case. improve assert_file_content.