Issue #1935970 by msonnabaum, dawehner, RobLoach: Convert timer_* to a utility class and convert tests to phpunit.