Added unit test which checks the legal moves output for an invalid move