moved all the app parts for the basic e2e example to the test file