patch supervisor calls in unitgration tests