Fixes PHPUnit tests