Add tests for local variables in expression passed to link creator functions.