This is better :)

To avoid the scope overiding problem, i've created a new module containing dependencies to all required modules for tests.

I register this dependency in <dependencyManagement> section of the parent pom, and then add this module as a dependency to others module in scope test.

Version is specified in parent pom, so i don't need to set the version number for this dependency.