simplifying the testLinearTermEvaluation() test