Add a test for the timer multi-threading behavior