Extract check for thrird party programs in tests