complete test for admin_spec and user_spec