more tests, mainly on templates