ChessGame, Java GUI, unit testing