Fixed NPE bug in Expression.getAsString()
Added unit test for Equation