fixed test for tick code