add tests for example applications