Add new tests (adapted from CNNTrainLang) for generation of CNNTrainer.

Fix for missing quotes in eval_metric value.
4 jobs for master