Add test for #120.