Add spec for Task.refresh