tests: use inmemory sqlcipher database
I think a small change like this could improve the whole performance a lot. I think we should only require a disk-based io for testing the sqlcipher backend itself, but everywhere else we should be able to use :inmemory: backend.