Ensured foreign_object tests reset language properly.