Use external helpers in hydrate test.
Add mock db for testing