setup postgit and test