add test for sec