Added phpunit test