Unittesting lazy-img