TreebankRetriever fix when sentences only contain a single word

Fixes #440 and starts the spec file for the TreebankRetriever.