Test isCaptureOrPawnMove.