improved tests for WebSocketFrame