Added test case from issue #147.