Added build file for Travis CI + some new API tests