tests/simple/utils.js: test string_format