unit test and cvm learning