Improve Judge class unit testing
Fix some bugs in Judge class unit testing
Complete Judge class