Fix test broken by r23192

The test in question was working around the ref-counting bug;
removed the workaround.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23203 57a11ea4-9604-0410-9ed3-97b8803252fd
Convert - in filenames to _ for function names

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23204 57a11ea4-9604-0410-9ed3-97b8803252fd