update nif test cases