added test to bind