testSafeImage