Misc: added phpunit tests
Misc: added travis-ci file