Many modern media control tests leak documents in testing