SamTest: Replace cigar constructor tests with templated version