add phpunit tests and composer
Merge pull request #3 from johnikx/tests_and_composer

add phpunit tests and composer