Example unit testing of friends module

Contains examples for:
  - normal method calls
  - mocking 3rd party libraries
  - throwing errors
Merge pull request #1 from miketwo/example_test

Example unit testing of friends module