Add tests for time-helpers