Added connection model unit tests.