added register page test and corrections