Hashlib compatible API
Refactor backend fixture and add hashlib fixture