Add expression tests for a function in an anonymous namespace.