-- some tests and code around db-init