Fix policy as the test now needs to create a classloader