Added phpunit coverage