Fixed postgres test to use new test tools