add mainApp._testSecret attribute for private testing