simplified new testLinearTermEvaluation test