function test () {
	for (propName in window) {
		if (!propName.match(/^test\w+/))
			continue;

		var testFunction = window[propName];
		if (typeof(testFunction) != 'function')
			continue;

		testFunction();
	}

	return 0;
}

function test1 () {
	print("Test1");
}

function foo() {
	print("Foo");
}

test();
