Fixed a function name 'test' not to conflict with testharness.js.