Perhaps this test should just be `2*cos(x)**2 + sin(x)**2`.  That was whatever trig simplification routine will take over and hopefully produce the right result.  We don't want to test both the maxima parsing and trig simplification, just parsing.