added image unit tests