Now capable of dealing with arrays.. TestEnv runs a simulation of
dialogue.