testsuite: Add the example used in the announcement on Yaws' ML
doc: Document the scope of variables