update tests and change templates to chameleon