Added test case from PR #47.