Fix unit-test coverage under phpunit 4.4.0