CFY-1662 add test to reproduce problem