fix wfEngine test