automatically make TEST_CASES for classess