Add a JUnit test for Sequence