A unit tet added to test_game_position_is_move_legal.