added spec for task model