Implemented connection.open and added basic test in app.d