added some socket tests