Add invalid movement tests and add placement checks on commands.