Testcase bug fixes

Fixes false negative with ldd checks when not using `SLAPOS_TEST_SHARED_PART_LIST` and other small bug fixes.

See merge request !202
22 jobs for feat/ImageComparisonTestCase in 0 seconds
Status Job ID Name Coverage
  External
passed SlapOS.Eggs.UnitTest-Master.Python2

00:38:33

passed SlapOS.Eggs.UnitTest-Master.Python3

00:16:15

passed SlapOS.Eggs.UnitTest-Master.Python2

00:38:40

passed SlapOS.Eggs.UnitTest-Master.Python2

00:42:38

passed SlapOS.Eggs.UnitTest-Master.Python2

01:11:28

passed SlapOS.Eggs.UnitTest-Master.Python2

00:35:03

passed SlapOS.Eggs.UnitTest-Master.Python2

02:07:31

passed SlapOS.Eggs.UnitTest-Master.Python2

00:45:03

passed SlapOS.Eggs.UnitTest-Master.Python2

00:43:18

passed SlapOS.Eggs.UnitTest-Master.Python2

01:01:34

passed SlapOS.Eggs.UnitTest-Master.Python2

00:44:00

passed SlapOS.Eggs.UnitTest-Master.Python2

00:44:29

passed SlapOS.Eggs.UnitTest-Master.Python3

00:20:02

passed SlapOS.Eggs.UnitTest-Master.Python3

00:24:32

passed SlapOS.Eggs.UnitTest-Master.Python3

00:26:05

passed SlapOS.Eggs.UnitTest-Master.Python3

00:15:50

passed SlapOS.Eggs.UnitTest-Master.Python3

00:16:48

passed SlapOS.Eggs.UnitTest-Master.Python3

00:15:28

passed SlapOS.Eggs.UnitTest-Master.Python3

00:16:12

passed SlapOS.Eggs.UnitTest-Master.Python3

00:18:18

passed SlapOS.Eggs.UnitTest-Master.Python3

00:16:01

passed SlapOS.Eggs.UnitTest-Master.Python3

01:06:41