Make all tests extend \Test\TestCase

- [x] Depends on #12218