Add format time helper spec.