Use memory DBs in some unit tests to avoid creating messes on the filesystem