Fix unit test for phpunit 4.X
Fix connection with travis-ci
Merge pull request #36 from fezfez/karma-unittest

Karma unittest