Update View::set

Fixed previous commit

Improved tests

Fixed previous commit

Update Test

Added Note

Fixed indentation

Update View::set_global