Specifies exception caught in RequestBuilder

RequestBuilder catches ArrayIndexOutOfBounds exceptions only, not ALL
exceptions. Also adds an extra test to the RequestBuilderTest.