First workable version with phpunit