fix get_file_contents test