Improved unit tests organisation and better testing for dcStream.

Change-Id: I4a4a42b8faa853fe4e706890444d8a30efeadd10