Added test for Eqn generation