Tests: fix the home view check in the index file