CFY-1159 fixed bug in test