Added App::isTesting() method