integration of winscard patches: ideas for implementing test cases?