Fix Travis config and test