functional test for the example app