redirect view test fixed