added test_judging() test case