Clojure factory fns for test fixtures