Add test case for #230 (fails on master)