TRUNK-3742

Set <scope>test</scope> on the Mockito and Powermock dependencies