Implementing more cursor tests and fixes for tailable and streaming