test/ db init hooks