Added integration test to ensure that root.id has the correct type when resolving a script classpath.