Fix bug in fasta-m10 consensus sequence parsing & add its tests