add code for testing app's source dir