make tests compatible with phpunit 4.x