The few tests in cryptoki/src/lib.rs do not even compile. They were written with rust-pkcs11 infrastructure in mind. We need to check if they are still valid, need to be modified and make cargo test pass locally and on the CI.
More generally we need to add more test and have a proper strategy for it!