Tests implicitly assume that every API call returns success.
E.g. Module handle passed to zeModuleCreate is not even initialized on app side, then if module creation fails then incorrect handle is passed to zeModuleDestroy which leads to segfault. Tests should check the error code and provide graceful teardown without crashes