fixed resource-provider and added tests for classpath repo