Add unit tests for sequence module