Fix unit test for phpunit 4.X