adjusted tests for template reader and finished test for structure manager