Fix DatabaseManagerTest to work for different DB types (Postgres, Oracle or H2)