StubRegistry changed in order to avoid too much type casts
Added RequestStub class