Fixes compatibility to phpunit 3.4.