New tests for TuringMachine.perform, new "N" task