Added basic phpunit tests
Merge pull request #1 from acrobat/unittests

PHPUnit tests