Added a test for the admin view