Make extension enabling functional test case generic