Include code examples for integration and functional tests in docs.

Fixes #1001
@mgrbyte "myproje7ct" s/b "myproject"