Identical is the opposite of Different. Person wants (to) Different. Person wants (to) Vacation. Vacation can be used for Fun. 
Measure is related to Test. 
Identical <--Antonym--> Different <--Desires-- Person --Desires--> Vacation --UsedFor--> Fun 
Measure <--RelatedTo--> Test 