prep_test_db = async (backupFile) => {
  const fs = require("fs");
  if (!fs.existsSync(backupFile))
    throw new Error(`backup file '${backupFile}' does not exist`);
  const load_plugins = require("@saltcorn/server/load_plugins");
  await require("@saltcorn/data/db/reset_schema")();
  await load_plugins.loadAllPlugins();
  const savePlugin = (p) => load_plugins.loadAndSaveNewPlugin(p);
  const { restore } = require("@saltcorn/admin-models/models/backup");
  const err = await restore(backupFile, savePlugin);
  if (err) console.log(`warning: ${err}`);
}
make schema reset and restore the backup file
@param {string} backupFile path to a backupfile with test data