Minor improvements in base.html.
Also added coverage