test to reproduce issue #1134