fix for 'split' pipe (and probably some custom or extras)

fixed missing if condition that was preventing pipes that would turn string (or other data type) values into arrays (such a 'split' pipe described in README file)

also added test spec