Update tests.

Write a doctest for function `views._viewable_characters`. Also update the test
case `test_views.CharacterTestCase`.