tests: add tests of function string_format_size