Refactor docs. Add redirect test