sequence: add accessor methods
sequence: add accessor methods
tests/sequence: use the accessor methods and move the test sequence into the global variables