testsuite: add a test for tilde quoting