fix regression test

see pull request #320 / commit 4c8604266580b2