Added basic phpunit tests