updated test classpath so test output is first in runtime classpath and ...

...mainTest dependencies come before test dependencies