Issue 27: Need tests for Corpus class

Fixes #27