1. added code interpret template,
2. improved test generator algoritm.