[tests] [cond] add conditional variable test

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>