Test parser exceptions. Also add tests for binary operator handling in ExpressionParser