Server: Fix unit tests
Add support for travis-ci