Fixes "str.split" with "maxsplit", enhances tests for "str.split" and "rsplit"