add taxonomic rank and fix test failure