Fixed tests on phpunit 4.0