Reworked the unit test to used aQute.lib.io.IO instead of Streams