Prepare postgres database for testing.