Fix regression tests

* unittest.expectedFailure was not a reliable way to check test failure
* file content comparison was wrong
* headers in reference fasta files were wrong