add test for sign