added more test cases to invoke and invoke.card