adding unit tests for issue 76
Merge pull request #88 from samtools/nh_issue_76

adding unit tests for issue 76