adding tests in elasticsearch output for interpolatedFlag function