Added a form for adding a friend, and associated tests.