add test for illegal rpn format
comments and spacing