configure PostreSQL as test and dev db