add spec for unbind function