Fix tests for bindings changes.