Added a 100% coveraged specs for api/role.