Hello! Thanks for your quick answer!
I just tried it again with master banch of mediawiki, but i have the same issue. Unit tests working out of the box, but integration with access to services, database, etc... are not working. For example if i write a ApiTestCase test.