Moved the secondary pin length update inside a transaction, removed the jCardSim dependent tests until patches fixing the crypto and APDU handling are integrated.