Convert more classes in test_crypto.py to pytest-style (#591)

1 file changed