Update build tasks and PHPUnit config.

Update build tasks and PHPUnit config.