Added testcase for GitHub issue #454.