fixing unit tests
fixed travisCI configuration