Consider a Maven project with a module descriptor in src/main/java and one in src/test/java.
Actual: errors in test classes due to missing requires (because the extension looks at src/main/java/module-info.java)
Expected: no errors in test classes (since all required modules are in src/main/test/module-info.java)