add unit test for cv splits