added test for updateBoard() with invalid input