full postgres persistence adapter + tests