add test for cal