Support docname in :filter:.
Use docname in regression test for issue #62.