update conditional variable test