Require entity reference for tests, otherwise it will fail.