test_docs porting to new codebase.