remove image test code