add unit test for CIs