a utility function to create a DN out of a canonical email address is now broken out so it can be used by the command line testing script as well.