Added test case for admin views