Index and show pages functional with tdd approach