update rpn && tests