(Split) Changed split behavior to split at whitespaces. Add splitAt to specify a separator string. Tweak tests.