Add a test for get_manager_emails.

* The test checks for existing users, doesn't find any,
  and falls back on a value in the settings.
* This method needs a database, so our list of requirements
  expands.
* Adding this test brings coverage to 100%!