Check that heredocs can do variable replacement.