Write spec for score_by_level