add app_test.js for test server