Add spec for Task.add