test writing seq to fasta file