fix PHPUnit test