test for checking if names in fasta match tree