added a simple test script opening a connection