add elementary postfix calculator tests and fix bug with updateStack()