Add unit test for cabs2