Fix tests with phpunit 4.3.