Adding tests for the user auth