Improved test stability (media pipeline release, time comparisons)

Change-Id: I79b3bbfd27b396ada03d6d60917c9f6c846d842e