add test for tick