Started fleshing out tests for AnalysisEngine and DocumentStorage.