Fixed tests for bindings.