Slightly improved interface for socialnetwork views.
Updated socialnetwork unit tests to reflect new logic.