updated test-apps.pl example