Can a contract be written that unlocks parts?

Is it possible to write a contract that unlocks parts rather than, or in addition to, money or science? I want to make it so that, for example, to unlock a better engine you would have to prove that the previous one was tested by taking it to an altitude above the ground, to simulate learning and using the part.


This question is old. I started playing on version 1.6. But it's not answered today:

Contracts which order you to test some part, enable the part as "experimental".

You kind of unlock it. But only until you solve this mission.