Fixing bug in SpAn SpeciesTest