Fix test_tick for Linux