Add dependencies for unit tests and travis.