add test for sequence generation.