refactor phpunit bootstrap