Add tests for auth index