Added test cases for admin and, also added assert statements for admin and user