registrationAfterResetingTest added

Test case 29 added +
code refactoring