Brought more code under unit test code coverage.

Added two new code examples, one for each form of custom completion handler.