That's fine for standalone test program that you can attach to bug report for example.
Having it in tests just adds a path that virtually will never be executed, that's what I'm saying.
I'd still prefer to have it in the tests, that way it's easy available if you want to run it. I mean, it's an interactive test, they are meant to be run on demand, no?
Regards, Fabian Maurer