Improve base.html/index.html and homepage tests