fix regression test

see pull request #320 / commit 4c8604266580b2
Merge commit '6323fe52b7621c21f5e2af7fd9bce344a37a4ea1'