Added more unit tests for sequence