Fix syntax error in test_simple_templates.
Update template tests to validate resulting tree.
Update class tests to no longer ask for symbols, we don't use it any more.
Implement parsing of templates into Template objects.