// Test script to verify use() with arguments

log.console("Testing use() with arguments:");

// Test 1: Load module without arguments
var module1 = use('test_args');
log.console("Module 1 message:", module1.message);
log.console("Module 1 args:", module1.args);

// Test 2: Load module with arguments
var module2 = use('test_args', 'hello', 'world', 123);
log.console("Module 2 message:", module2.message);
log.console("Module 2 all args:", module2.allArgs());

// Test 3: Verify modules are cached (should return same as module1)
var module3 = use('test_args');
log.console("Module 3 (cached) message:", module3.message);
log.console("Are module1 and module3 the same?", module1 == module3);