Add test for #146