Try to make tests PHPUnit friendly