Remove DB use from tests for EntityData

After overhauling the dependency injection, we no longer need
to use the database for testing EntityData functionality.

Change-Id: I132699eb0708acf329f4a7b484a0feb7e3f1b149