Adding tests for cv_build
Adding anyevent condvar support in cv_build