add initial target_content.xml testing and improves the testsuite in many areas