cookast, tests/defn: fix defn pattern, include docstring