Added tests for authenticated users