Mark tests as using the database

Change-Id: Idbd21e5b75c91c7ee11d51601e38e8b650ed0aab