title: _afterSuite() in Codeception
body: <p>Good afternoon! I have a test suite. Before the tests, I want to register a user, and after - delete him (once per testing period) using _beforeSuite and _afterSuite. Described _beforeSuite - it works, the user is registered. I'm trying to describe _afterSuite - I'm getting an error. Prompt, in what there can be a reason.</p>
  <pre><code>&lt;?php
  
  namespace Tests\Support\Helper;
  
  use Tests\Support\Middleware\User\User;
  
  class MiddlewareHelper extends \Codeception\Module
  {
      public function _beforeSuite(array $settings = []) {
          $I = $this;
  
          $user = new User();
  
          $moduleREST = $I-&gt;getModule('REST');
  
          $moduleREST-&gt;haveHttpHeader('Content-Type', 'application/json');
  
          $moduleREST-&gt;sendPost('/user/register', ['email' =&gt; $user-&gt;email]));
      }
  
  
      public function _afterSuite() {
          $I = $this;
  
          $user = new User();
  
          $moduleREST = $I-&gt;getModule('REST');
  
          $moduleREST-&gt;haveHttpHeader('Content-Type', 'application/json');
  
          $moduleREST-&gt;sendPost('/user/delete', ['email' =&gt; $user-&gt;email]));
  
     }
  }
  </code></pre>
  <p><strong>Error</strong></p>
  <pre><code>Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in ...vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php:227
  Stack trace:
  #0 /Users/.../vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php(227): method_exists(NULL, 'isFollowingRedi...')
  #1 /Users.../vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php(161): Codeception\Lib\InnerBrowser-&gt;clientRequest('POST', '/user/delete', Array, Array, Array, NULL)
  #2 /Users.../tests/Support/Helper/MiddlewareHelper.php(65): Codeception\Lib\InnerBrowser-&gt;_request('POST', '/user/delete', Array)
  #3 /Users/.../vendor/codeception/codeception/src/Codeception/Subscriber/Module.php(58): Tests\Support\Helper\MiddlewareHelper-&gt;_afterSuite()
  </code></pre>
  <p>If move working code from the _beforeSuite method to _afterSuite, the error persists</p>