Add test for homogeneous images