adding tests
easier accessible variables in templates
ticket #3 pull reequest #70