Update testEntityWithFieldsOnly.sh

Using function_score