Added stubs for engine and factory mocks