add tests for classloader setting, implement Cache.getRuntimeConfiguration()