working socket testing in notebooks