added postgres test stuff