Start writing socket tests