If that’s your actual folder structure, hopefully you have overridden the default test folders to what you actually have (src/main/test rather than the default src/test/java).
Beyond that, if you’re matching with the package, you should match on the fully-qualified class. That would be tests2b.* rather than just tests2b.
This one shouldn’t work for your updated example. It was for the original post that looked like you had a package called test2b, not class called test2b in the default package.
However, it’s hard to say what’s not quite right in your project. This works as expected using just the details provided. You probably need to provide a small example project where you can reproduce the problem to get any more assistance. It’s likely a small detail in your project that you wouldn’t necessarily know to call out and we wouldn’t necessarily know to mention unless we saw it.