[TEST] fix testNestedFieldSimpleQueryString for 0.90 branch
added local flag support to cluster pending tasks api