Added a test case.
Merge.