[test, utils] test strmap, fix typo.