mock db in ripplein test