KFSUPGRADE-998 Fix test