add failing test, fix it
style
Merge pull request #1 from dchudz/fix-regression-split-location

fix regression_split_location