add tests from package:crypto