* [BAEL-2032] Operate on an item in a Stream then remove it
* [BAEL-2032] Refactored unit test
* [BAEL-2032] Added a new test for filter and used logger
* Stored the predicate in a separate variable
* [BAEL-2032] Operate on an item in a Stream then remove it
* [BAEL-2032] Refactored unit test
* [BAEL-2032] Added a new test for filter and used logger