test clean up, socket tests