Adding phpunit tests