Advanced Template User Component And Codeception

I am testing out the Advanced template. It seems that the User model is shared (in common/models), but there are two separate user components (one for backend and one for frontend).

That maybe is intentional (in order to have separate sessions for the backend and for the frontend), but it causes some problems with Codeception testing:

common/test/unit/models/LoginFormTest.php inherits frontend/tests/unit/TestCase instead of common/tests/unit/TestCase, which forces it to use the frontend test _config.php instead of common test _config.php.

Is it supposed to work that way?

I can workaround and use the User component in "common" tests by adding it just for the tests (with enableAutoLogin = false), but I am still wondering if this is the intended behavior…