add tests for #get_score
refactor to make a little more succinct