added conditional waiting support for asyncronous tests
Merge pull request #103 from LivelyKernel/aynctests-wait

Added conditional waiting support for asyncronous tests