Wrote new battery test for socket.io