added functionality to rolefactory class to create a new roles object with tests