tests: Convert find_missing_doc into a unit test.