fix usage of uapi, limit test threads