Added createRole and tests.