Fix get_image, add laughably simple test script