Helper Utilities for testharness.js