Fixed bugs in testcases

Change-Id: I40c8dd2b6542cbcaa49c129fb97b428df161386c
Signed-off-by: mstegmaier <michael-1.stegmaier@uni-ulm.de>