Added support for empty test_by_score table