test added for PR #146