Wrote some unit tests

Change-Id: I65171236dd00e651a517e13b41d5961f8eb8148d
Signed-off-by: Alexander Wert <alexander.wert@sap.com>
Merge pull request #103 from AlexanderWert/master

Wrote some unit tests