enhance rest.py test for fetching pull request data
don't assume incoming key is a string in RequestBuilder.__getattr__