Unit test for btp_koops_stacktrace_to_json.