added session_dict to redirect view test functions