engine priority

The tests pass either way so its not clear what is supposed to be the correct behaviour but it makes sense that the resource specified engine would take priority over the global setting.