improved coverage tools and automatic scripting for coverage and unit testing