Fix test relying on specific member title format.

If a custom member title format was used, the test would fail as it
only expected the default member title format.
Merge pull request #2473 from ajshort/pull-1

Fix test relying on specific member title format.