test_docs porting to new codebase.
Merge pull request #861 from mfalesni/test_docs

Rewrite docs tests into new code
Dont trace the tracer, its not pleasant
Merge pull request #958 from jkrocil/dont-trace-tracer

Dont trace the tracer, its not pleasant