Refactor #5886: update facebook testcase