add tests for unbind with scope
update docs for unbind