[test_seq] add tests for all of create/destroy seq
[kmseq] fix bugs in kmseq