unit test for utils.bind()