Fixed tests on phpunit 4.x