fix bug in MoveDef::TestMoveSquare