Updated the tests and auth methods