replaced switchable sockets with sbo's original, added testcases