Issue #1216 with unit test

Before, when the bootstrap argument is set, the file doesn't receive global vars set in phpunit.xml file.
Now, the bootstrap always receive global vars set in phpunit.xml.