unit test: Improve string_is_integer tests