Add test for #157.