added support with phpunit tests and travis-ci