Refactor test code for create_score_table() #17