Added test for illegal move.