Fix monkeypatching test to not fail on newer node
Add wrappings for part of crypto