XD-1383 Added basic tests

- filesink
- logsink
- timesource
- httpSource
- TCPSource

* Updated to use Fixtures.
* Added TCPSource and Sink tests.
* Refactored Code

Merge fix