Added integration tests and activated travis build.