Fixed but in Separator.splitAtFirstIndex when not using an ending token for indexes
Cleaned up SeparatorSpec and made the tests uniform.