streamlined test case registration with class attributes