medical device functional test