Fix some issues in fact and fib parser test cases.