Require testcase_ext only when testcase is actually provided