[tests] Improve base command test case.
[tests] Improve tests of TTL.