added streaming nested matches to api and refined es-tests to take advanatge of this