well this is the console, not a test class. But the test class currently works by using a parameter defined in `phpunit.xml.dist` to get the kernels directory. I havn't modified the kernel determination logic from framework bundles `WebTestCase`.

Re. the console I have moved this file into the component and I parse `phpunit.dist.xml` to get the kernels directory.