Added tests for admin auth