fixes in sockjs tests