Finish sequencing classes and its unit test