Add some tests. Use SplStack instead of arrays in ExpressionParser.