expect unlinkto be called