added experimental duplicate image test method