Fix TravisCI build and add make test to build