Added test for curve when sockets in active mode