Add utility testing function.