Add a check for a custom role key - specified via an optional project pa...

...rameter - and merge into the existing list of roles if present.
Why do we need INSTALLED_APPS in the mock settings?  The tests pass without it.