Added tests to verify unbind behavior.

[Finishes #54135393]