Added call operator to connection, adjusted tests to use it
Adjusted exceptions and debug messages