adding new test on linearTerm->evaluate, which fails with a segfault