Fix fail handler test