added app_test script to test the application