Update test_get_image_file.py

Refactored and added tests.