Fix exclusion logic for tests.
Fix a few crypto tests.