Ensure foreign_object tests reset language properly.

This makes sure any activated translations are always deactivated.