Added tests for Authentication