test next_tick return value