add rpn_test and other calc functions