In practice go to the engineer if he say 'we've got a performance test' and they will be a R&D Option in his menu. chick on it to except it. Usally doing a slowish time in practice. Once you've done that the next race you usally get awarded an upgrade (Although you can't change it or really know what it does)