add spec for date