Add test for readImages