Added new tests to incrementally test sequence, among other changes.