What if we replaced this with something more like a unit test which called `CRYPTO_lock` and then checked the state of the desired lock?