SONAR-4898 - Fixed AppTest (NPE when App is not started)