Adding a set of functional tests based on the examples folder

We dont have unit tests yet, but these functional tests will show
up if anything changes in the existing example test set.

Change-Id: I3efc4f28fd61835a28c7a1143000360646346345