Add test case for #149.