Bind and unbind test