Added timer helper with tests