Simplified the test through creating a method which accepts an iterable control and then invokes the former assertIterableEquals
Added map to Stream