[PATCH] Add unit tests for timer validation