Fixed the classloader when running tests.