TestCase settings are sigleton instead of static attribute, small code reorganization