Rename core to entities in tests.