adding phpunit tests
Merge pull request #1 from divideandconquer/tests

adding phpunit tests