add new properties to wrapped connection object and fix unit tests