Add test case from #147.