added phpunit and travis-ci support