Adding authentication tests