added tests with binding