fix bootsraping and use in phpunit call