func setupTestMultiDB() (*multiaccounts.Database, func() error, error) {
    tmpfile, err := ioutil.TempFile("", "tests")
    if err != nil {
        return nil, nil, err
    }