Change construction in test_term to not use auto.