Adds tests for a stub example. This is to help keep the stubs up to date
Merge pull request #921 from scopatz/stub-ex

Adds tests for a stub example. This is to help keep the stubs up to date