Issue 27: Need tests for Corpus class

Fixes #27 
This should use a tmp directory using the "tempfile" module.  Also, don't initialize this here. Create it separately in each method below.