Fix bug when a defined null variable is assigned with another object.
Fix bug on assinging null value to a variable; create test-cases for
primitive values.