fix compile error in shim tests