Fix to classpath not having the dependencies classpaths.

Fixed a problem with test classpath not recognizing the classpath of the dependencies. it should now compile successfully the tests and run them.