Fix Travis file to install test dependencies