test for cached images