tests for get_file_ext()