extract image tests