fix wrong glbinding asserts and tests asserts