Added a mock Connection object.