Testing an application with PHPUnit