Forgot an else condition
Adjust unit-tests to the new index page