Fix test layout
unused variables
reindent profile.html