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

This should be merged before fiddling with the input file format.