agnosticbin3: Fix test.
agnosticbin3: Fix test.

Use events instead of timeouts to make actions in order to make tests a bit
more determinist even when tests are running under poor computational conditions.

Change-Id: Ieb48704e9a38f8f017288d891dc216fb8c0679e8

ESTOS/kms-core,TribeMedia/kms-core,Kurento/kms-core,shelsonjava/kms-core,ESTOS/kms-core,TribeMedia/kms-core,TribeMedia/kms-core,shelsonjava/kms-core,shelsonjava/kms-core,Kurento/kms-core,shelsonjava/kms-core,ESTOS/kms-core,Kurento/kms-core,TribeMedia/kms-core,Kurento/kms-core,ESTOS/kms-core