CFY-1123 fixed unit test