slightly more flexible input split test