Add ScoreRecord unit tests