Basic RPN functionality and tests.