fixed check
added tests for language bindings