enhance bind and callback tests.