Added DI mocks to subscriber tests