Change index test to be 301 response