module.exports = function(robot){
	
	robot.brain.set('testmemory', 'memory remembered');

	robot.respond(/memorytest/i, function(res){
		res.respond(robot.brain.get('testmemory'));
	});

	robot.respond(/memorytest (.*)/i, function(res){
		var newMemory = res.match[1];
		var oldMemory = robot.brain.get('testmemory');
		robot.brain.set('memorytest', newMemory);
		res.respond('Memory changed from ' + oldMemory + ' to ' + newMemory);
	});

}
@@ -136,21 +136,19 @@
 %09%09res.re
-spond
+ply
 (robot.b
@@ -361,21 +361,19 @@
 %09%09res.re
-spond
+ply
 ('Memory

Correct test function