Making PHPUnit tests work