I see there are a lot of test cases for org-find-olp (which is the function I believe processes the outline path argument).
testing/lisp/test-org.el
2861:(ert-deftest test-org/org-find-olp ()
2862: "Test `org-find-olp' specifications."
2875: (should (org-find-olp '("Headline") t))
2876: (should-error (org-find-olp '("Headline" "Test") t))
2877: (should-error (org-find-olp '("Headlinealksjd") t))
2878: (should (org-find-olp '("Headline" "headline2") t))
2879: (should (org-find-olp '("Headline" "headline3") t))
2880: (should (org-find-olp '("Headline" "headline3" "headline4") t))
2881: (should-error (org-find-olp '("Headline" "headline5") t))
2882: (should (org-find-olp '("Headline" "headline6") t))
2883: (should (org-find-olp '("Headline" "headline7") t))
2884: (should (org-find-olp '("Headline" "headline8") t))
How should I go about testing different parameter types such as function and symbol?