I'd probably use `cond` instead of `condp` here, just to avoid `instance?` and having to reference the Java types directly.

e.g.

   (cond
      (string? test) ...
      (vector? test) ...

The downside is that you have to repeat `test`, but I think it's probably worth it in order to abstract out the Java types.