Sam: add accessor method for mapq

for the test, just adding one line in the current sam_test would be enough.