Assertions for getReversePolishNotation method.
Additional assertions
Small fixes