Native vs js

added test to verify that pgpass works the same way as libpq does