Add unit tests for the new LIVERESOURCE_DB environment variable and to
ensure tests in general never use the default redis database (0).