Refactor tests and add HRTimer system object