Added more unit tests in StubRequest