test for the end event to fire when a regexp is used in the query
test for the limit to work when a regexp is used in the query
fix for using a limit with a regexp in a query - cancels the level limit and uses pull.take to stop the stream when the limit has been reached