fixed indentation in tests and templates