Fix bug with paired reads and add in new test