test/docs for detailed view of stubs (bug 1054532)

This type of GET always worked, it was just never
tested or documented. We're relying on it now so
let's get some test coverage.
Merge pull request #2428 from kumar303/stub-docs

test/docs for detailed view of stubs (bug 1054532)