Added a load of connection unit tests