add some standalone tests for Optional[]