amended customer tests to use postgres db