Fix bindings for tests.
Merge branch 'master' into release