So far prepare (in the term domain) was called via term::raw. To be able to prepare in the expression domain, expose functions prepare_term() and test_assignment() that accept expressions as arguments. prepare_term() was chosen rather that prepare() to differentiate wrt. the other domain that can be prepared (selectables).