making tests pass for index page