Added unit tests for RequestTracer, improved reliability