Created UnitTestClass for RegisterActivity