Converted TestCorpus class to enum.