add test with stubbed image file model