Use proper API function in test_bp_docs_is_existing_doc()