added test for connection callback listDatabases