New test case added. Fixes #274