added some basic phpunit testing