Fix old gcc error.
Namespace the c++ tests.
Expose the `expr` constructors to subclasses.