Changed CardTest

Modified CardTest to account for the new code which throws an exception
now instead of just returning null