Add docstring to public validate fn; update test.