defining implementation for RequestBuilder and adding initial tests