Add unit test for `caf::optional`