test for fixing gh #569