Fixed exceptions in TestSequenceExtractor.