added cluster_role attribute
added test for cluster_role from attributes