Modified the server_roles test to be more flexible