Testing the connection to an IRMA card