Added unit test

Signed-off-by: Dominic Böttger <Dominic.Boettger@inspirationlabs.com>
Merge remote-tracking branch 'origin/master'
Fixed unit tests and debugging output

Signed-off-by: Dominic Böttger <Dominic.Boettger@inspirationlabs.com>