adding phpunit tests