Harness unit tests working, added more

Added socket type and connection unit tests