Ensure correct line number for non-assertion test errors.

Rather than relying on a fixed index in the stacktrace, search the
stacktrace for the current test var fn.

Fixes CIDER #674.