test for async socket server