tests for DoubleSequenceSweep and some documentation