Fixed syntax error in testAppConnection