Update testEntityWithFieldsAndConfig.sh

Using function_score