Add tests for classes personInScoreboard Scoreboard

fix some defects