slice, all, getForeign几个参数有了改变。对应修改了测试用例。
Signed-off-by: Daogang Tang <daogangtang@gmail.com>