added testcoverage after reengineering