refactor unit test for taxon image search