issue #245: test added