finished tests for add, remove and get socket