Add tests for file_location