test for invalid image practice