AMBARI-6549. Fix App.testMode using. (onechiporenko)