add a test for the bind method