redirect to #index if no test