Update tests.js with the new static functions.