Added phpunit testing