If I add a test-jar dependency, then it's dependencies in test scope should be transitively added in test scope.
<dependency>
<groupId>x</groupId>
<artifactId>y</artifactId>
<version>1.0</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>