register page styles, tests fix