Took it from https://github.com/technomancy/leiningen/blob/master/src/leiningen/test.clj#L101