Test infrastructure

If we want this to mimic pyca/cryptography we should consider moving tests outside the main package and not omitting them from coverage.