Fixes test-connect-object for Travis CI