added some tests of legalMoves