Fixed unit test for Bowtie.