register rewritten from xpath to css, some errors fixed
registration test improved & errors fixed