added spec for times