fix broken build

Now require database$driver to be specified
Fix tests to work with postgresql