WL-3156 Add test scope to test dependencies

We introduced some test dependencies so make sure that they have the test
scope in the pom file.