added a spec for time expired invitation