Added documentation for the behaviour example.

Change-Id: Icbb265cae7d0bf5b05c30d1a4b0dcc2ca8fb69bf