Test: regression for issue #1549.

It was verified that reverting the commit that fixes the bug, the test
no longer passes.