Add test_open_file

Add test_open_file