Update index.js

Test a connection by running a simple query