Refactor substitute-childopts to use clojure.string/split and fix unit tests