add utility script for testing a role.