add cmd_set commands and its tests
update test for ttl and bitmap