Fixing failing testcases


Some testcases do not consider all messages. These changes make
the test wait at specific points until these messages are sent.

Change-Id: Ie8f4b9492fefade0be91e7f829824db39d61ddee
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
commita79f70e2dfa1fa3d3a418310c7b8c8bb89c2d3c8
parenta6ebe42f2c997175c221f916bad7fdfd6fd3585d
authorLutz Schönemann <lutz.schoenemann@basyskom.com>
committerMilian Wolff <milian.wolff@kdab.com>
commit timeTue, 26 Aug 2014 13:19:29 +0200