Added function to locate psql binaries while using temp driver
Added more test for temp driver