test.js: save db to directory not shared by the host