added test for readMoves()