Testable versions of SeqLib and derivatives.

Needs more testing, especially efficiency/memory use testing.