Added name attr to template + base template manager
Template manager tests + __getattr__ method