Socket tests  sorry for the errors :)