adapted new WebSocketFrame api to other tests and modules