[Minor] Testbase dependency management is scope test

also added postgresql dependency management