Add tests for String#is_int and String#is_range.