Update test/connection.test.js

updating test