Add test and restart instance variables values

Patch the Issue #4