Testing Optional<T>