Add unit test that covers setting the crypto method.