Added RoleComponent tests