added some basic phpunit tests