Fix for test for files and auth plugins