Add corpus test
Move helper functions from corpus test into module
Factor out finding an object into a function
Update build-corpus.pl to write the corpus data to Git
Remove mention of *-corpus.pl from README

This is in the test suite now
Issue a helpful message for corpus failure