Putting the inconsistent onload tests back for compatibility checks