On teaching and testing learner proficiency in the case of foreign languages used in a diglossic situation