Fixing executionFactory tests