fixes broken CardTest.java test