added use to tests and bindings, fixed tests