tests: tame the default logging

WE use an env-var and remove the def log handler after gst_init to avoid output to stderr.