[refactor] allow extensions to have their own test cases