Fixed ApplicationServer test bug