JavaScript test suite utilities