Make all tests extend \Test\TestCase

- [ ] Depends on #11967