Fix bindings for tests.