Fix #620: Sanitize TestFramework (proper naming & access to tests)