Unit-test for pointers.
Added unit-tests for connections.