Fix the timer_scope test.

Refs #6107