Replace flatMap(…) operator after collection drop with then(…) to create the collection regardless of whether the previous operation emitted an element or not. Collect emitted elements to add an assertion and fail if the tailing does not work.