condVar tests