Fixes missing namespace.
Adds tests for Optional and Optional<T>.