Add `getUnwrappedValue` test helper to fix npm modularized builds.