t: Include a(nother) test case using bareword handles

Plus fix a bug in leak guards that refer to globs.

Signed-off-by: Niels Thykier <niels@thykier.net>