Fix syntax error. Add a unit test for chess move.