added task instance test