Change spec to check error not raised
Merge branch 'remove_var_1'