Add tests of database access. Not working yet.
Increase the versions of some dependencies.