Added test for hook_tick