[WIP] Feature/postgres tests