[TASK] Update compatibility for phpunit v4

Function setUseOutputBuffering was removed in phpunit 3.8.
https://github.com/sebastianbergmann/phpunit/issues/991