Some websockets related tests