Generated Bundles no longer use Bundle inheritance, because Symfony dropped the support for this in 3.4+ symfony blog If You really need it, you can add it yourself.
All files under the Tests
directory are now correctly handled as internal test classes.
You can't extend them anymore, because they are only loaded when running internal tests.
More information can be found in the composer docs.