Add loop to process_test_scores function that calculate different scores